package com.zsrt.java.ex.reflect.reflect01;

public class Person {
	
	private int num;
	
	String sex;
	public String name;
	public int getNum() {
		return num;
	}
	public void setNum(int num) {
		this.num = num;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Person(int num, String name) {
		super();
		this.num = num;
		this.name = name;
	}
	public Person() {
		super();
	}
	
	private Person(String i){
		this.sex=i;
	}
	@Override
	public String toString() {
		return "Person [sex=" + sex + "]";
	}
	
	
	public void info(){
		System.out.println("好开心");
	}
	
	private void info(String x){
		System.out.println(x+"好鬼靓仔");
	}

}
